/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controllers;

import models.Administrador;
import models.Alumno;

/**
 *
 * @author Administrador
 */
public class Security extends Secure.Security{
    
    static boolean authenticate(String username, String password) {
     
        System.out.println("\nAutenticando...");
        //return Administrador.connect(username, password) != null;
        return Alumno.connect(username, password) != null;
    }
    
   
}
